package com.lq.educationsystem.lqclasses.controller;

import com.lq.educationsystem.common.constant.ResultContant;
import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultBuild;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Controller
@ResponseBody
@RequestMapping("/classes/test")
public class ClassesTestController {

    @GetMapping("/t1")
    public Result classTest(){
        //返回结果
        Result result = ResultBuild.buildOk();


        return result;
    }
}
